package edu.pku.taas.hyperic.types2;



public class MetricDataPoint {
	private long timestamp;// = 1268499600000L;
	private int measurementId;
	private float value;

	
	public MetricDataPoint(long timestamp, int measurementId, float value) {
		this.timestamp = timestamp;
		this.measurementId = measurementId;
		this.value = value;
	}

	public MetricDataPoint() {
	}

	public int getMeasurementId() {
		return measurementId;
	}

	public void setMeasurementId(int measurementId) {
		this.measurementId = measurementId;
	}

	public float getValue() {
		return value;
	}

	public void setValue(float value) {
		this.value = value;
	}

	public String toString() {
		return "TIMESTAMP=" + timestamp + ";MEASUREMENT_ID=" + measurementId
				+ ";VALUE=" + value;
	}
	
	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	

	
}
